package com.enjoyor.soa.traffic.api.dto.mtps;

import java.io.Serializable;
import java.util.Date;

public class AppEventDeleteDto implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = -4726022546811458455L;

    private String messageId;

    private String messageType;

    private String eventId;

    private String userId;

    private Date createTime;

    public AppEventDeleteDto(AppEventDeleteDto appMessageDeleteDto) {
        this.messageId = appMessageDeleteDto.getMessageId();
        this.messageType = appMessageDeleteDto.getMessageType();
        this.eventId = appMessageDeleteDto.getEventId();
        this.userId = appMessageDeleteDto.getUserId();
        this.createTime = appMessageDeleteDto.getCreateTime();
    }

    public AppEventDeleteDto() {
    }

    public static class Builder {
        AppEventDeleteDto appMessageDeleteDto;

        public Builder() {
            appMessageDeleteDto = new AppEventDeleteDto();
        }

        public Builder messageId(String messageId) {
            appMessageDeleteDto.setMessageId(messageId);
            return this;
        }

        public Builder messageType(String messageType) {
            appMessageDeleteDto.setMessageType(messageType);
            return this;
        }

        public Builder eventId(String eventId) {
            appMessageDeleteDto.setEventId(eventId);
            return this;
        }

        public Builder userId(String userId) {
            appMessageDeleteDto.setUserId(userId);
            return this;
        }

        public Builder createTime(Date createTime) {
            appMessageDeleteDto.setCreateTime(createTime);
            return this;
        }

        public AppEventDeleteDto build() {
            return new AppEventDeleteDto(this.appMessageDeleteDto);
        }
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserId() {
        return this.userId;
    }

    public void setEventId(String eventId) {
        this.eventId = eventId;
    }

    public String getEventId() {
        return this.eventId;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    public String getMessageType() {
        return this.messageType;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }

    public String getMessageId() {
        return this.messageId;
    }

}
